#include "mystdio.h"

int main()
{
  MyFILE* fp =MyFopen("log.txt","a");
  const char* arr="hello mystdio\n";
 size_t n= MyWrite(fp,arr,strlen(arr));
 if(n==0)
   return 2;
 MyClose(fp);
 return 0;

}

